[INFO] cloning repository https://github.com/legacyofmu/dice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legacyofmu/dice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegacyofmu%2Fdice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegacyofmu%2Fdice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71f0724d6c938655da6dc6b78e4bc7faf8c0f1f5
[INFO] fixing legacyofmu/dice against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegacyofmu%2Fdice" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/legacyofmu/dice
[INFO] finished tweaking git repo https://github.com/legacyofmu/dice
[INFO] tweaked toml for git repo https://github.com/legacyofmu/dice written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/legacyofmu/dice on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/legacyofmu/dice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rounded-div v0.1.3
[INFO] [stderr]   Downloaded fraction v0.11.2
[INFO] [stderr]   Downloaded dices v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662
[INFO] running `Command { std: "docker" "start" "72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking rounded-div v0.1.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking fraction v0.11.2
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]     Checking js-sys v0.3.77
[INFO] [stderr]     Checking dices v0.3.0
[INFO] [stderr]     Checking dice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[clap(short, long, default_value = "2")]
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[clap(short, long, default_value = "2")]
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let args = Cli::parse();
[INFO] [stdout]    |                     ^^^^^ associated function or constant not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let args = Cli::parse();
[INFO] [stdout]    |                     ^^^^^ associated function or constant not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distribution` found for struct `Dice` in the current scope
[INFO] [stdout]   --> src/main.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let expected_dist = dice.distribution();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]   --> src/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn main() -> anyhow::Result<()> {
[INFO] [stdout]    |              ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dice` (bin "dice") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `distribution` found for struct `Dice` in the current scope
[INFO] [stdout]   --> src/main.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let expected_dist = dice.distribution();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anyhow` in this scope
[INFO] [stdout]   --> src/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn main() -> anyhow::Result<()> {
[INFO] [stdout]    |              ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dice` (bin "dice" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662", kill_on_drop: false }`
[INFO] [stdout] 72c1c28ff3c860c4dff4e8766786fbbe6e2397741223f3be859114e4e3beb662
